Fix test_urls_locale so it works with pristine dev env