Override UrlsJsonViewTest

The testserver is not actually running at the non root url
so we need to handle the view case differently.
move assertions out of try finally block