Added test_xml for xml equivalence testing