XML indented in test scritps
added test for _xml_as_hash