Sitemap tests added

As we lack tests for our code some tests for sitemap generator were implemented.
According to the comment, you're doing something wrong. I mean, the whitespaces shouldn't affect DOM at all.