Fix test_urls for django 1.6