Fix test failure when Redis.pm is unavailable