Changed to a maven project in eclipse and added a unit testcase that
runs the main and compares the xml output with expected output.