added test to RedirectHandler