write xml testresults