replace assertEquals with assertXMLEqual to compare xml strings