Sitemap tests added

As we lack tests for our code some tests for sitemap generator were implemented.
Yes, exactly. I'm not sure, whether it is a __dirty hack__ or not. Do you have any suggestions for better implementation?