Testing redirecting to the url