Sitemap tests added

As we lack tests for our code some tests for sitemap generator were implemented.
I applied the changes that you've suggested, but I would go for just strimming the "trash"  from xml and simplifying the code. Maybe it is wrong to do it in `_get_output_content`, better to move it to `_get_sitemap_dict`.