Moved debouncing of redis requests into RedisClient and fixed test.