Added test files, tests for xml input, refactored exception to include message
Added output tests