Altered functions and added a test-url-string