Added test on redirect