Added test for RedirectPolicy and removed unnessary print in test