Modified urlTest to accept proper arguements