Added tests for the redirects