Added CacheKeyGenerator tests.