Sitemap tests added

As we lack tests for our code some tests for sitemap generator were implemented.
Please, add tildas to fit the line above.