Use \n instead of PHP_EOL
test assertXmlStringEqualsXmlString instead of simple string equality.
use \n instead of PHP_EOL for cross platform compat
use DIRECTORY_SEPARATOR instead of / for cross platform compat
Clean the paths.
Merge branch 'fix_tests' into stg-fix_tests