Replace or with xor where appropriate in tests
Replace or with xor where appropriate in tests

Closes #245

beheh/fireplace,Ragowit/fireplace,smallnamespace/fireplace,Ragowit/fireplace,amw2104/fireplace,amw2104/fireplace,NightKev/fireplace,jleclanche/fireplace,smallnamespace/fireplace