Fixing tests for redis