Add and test HLRecord class.