Add test to check for redirections