Change redirection status in test.