Add unit tests for BitMap (work in progress)

...and fix AllOr for empty input sequence.