fixed Redirect test when comparing times