Fixed redirection tests