Add the test-xor target to the Makefile; Fix a parser bug in parsing input data config.