Refactoring for the redis connection param in tests--tests run