Test if a url is correct