Changed name to CPPUT_TEST_MAIN.
Adjusted how the XML result writer is used.