Add more test cases for and(), or() and xor()