[cmp] Fix testing infrastructure configuration

Changed name and test format and stuff about valgrind that wasn't work.
[cmp] Add a test for the xor operation