Fix error if location is not directly provided (loc is provided instead)
Add test to make sure sitemap generator stripts trailing slashes in locations