Sitemap tests added

As we lack tests for our code some tests for sitemap generator were implemented.
There's no "trash" in sitemap. I can change format sitemap that your workaround will not work but sitemap.xml will be valid.