Add failing test for die after redirect

I have add a failing test for redirect then die bug but I haven't fixed it yet