Correct ParseXML to use DOM parser in test