fix NiceCache.build return value, trim spaces
setup MockRedis