added redirect testing