Fixing existing unit tests and adding new unit tests for the RedisLimiter