Add tests for BitUtil