invoke and test converting object to xml.