tests for xml parsing