added test for redis cache