Adjust how we test URLS.

From #6404.