Add redirect tests