[HB,CB]{test-before-code} OTR library and test added