Replace redis connection with mock_redis