RdLookup: hb mapping and its tests