Added loadFromXML test method