Add tests to make sure the XML_OUTPUT_DIR is generated correctly and the correct files are getting created.