Fixed XmlEditor tests.