Added test for redis environment present.