Made changes to the urlTest function in order to fix the bug occuring where it wasn't recognizing anything as a URL