add tests for bitwiseXor and absDiff