unit test for redis is complete