Test using assertXmlStringEqualsXmlString instead of simple string comparison
Remove unnecessary php behavior check.
Merge pull request #2620 from okonomiyaki3000/fix_travis

Test using assertXmlStringEqualsXmlString instead of simple string comparison