Added some unit tests for bit-map-type