Added tests to logical operators

Existing logical operators tests pass when bitwise operators are used, added tests that fail with bitwise operators