Implement Mapping.generate_urls and tests