Modernize CondTools/HLT
and add unit tests
#36187
Merged
CondTools/HLT
and add unit tests
#36187