Made XML tests prettier and not fail due to dangling whitespace