tests for bitfield $record