fix up tests for xml