Add bits_per_uid unit test, addressing BIT0-1016.