Env management and Redis test