normalize xml before comparison in tests
Merge pull request #3515 from dimagi/assertxml

normalize xml before comparison in tests