fix xml-wrapper test code