Sitemap tests added

As we lack tests for our code some tests for sitemap generator were implemented.
I'd like to use `root.getchildren()` instead of `[url for url in root]` here and everywhere in the code.