bitwise operators and tests