added xor tests