test result xml against expected