Testing bitmap functions