Added objToXML testcase