Added test for GetXml