error redirect test.