Added unit test for analyzeXmlTestResults