add redirect tests