Working test for XOR