updated redirect test