test the url properly