Sitemap tests added

As we lack tests for our code some tests for sitemap generator were implemented.
Let's use `getElementsByTagName('url')` instead of `childNodes`.