Modified UDO_XML tests for UniData 8.1

Reviewed the codes, deleted several unnecessary code snippet, and added comments.