Test Generator for bitwise operations