Added a test to check that it is redirected