Add redirect tests.