Improve testTransformXML