Changed the url test so that it does not depend on a specific setting