Added unit tests for bitwise.dist