Added test for #loadXML method
Added #loadXML method