Testing if a URL can be added for a dependency.