update test case for non redis environment