Test.m: Added ability to write a JUnit-compatible XML report file.