Fix redis unit test