improve code coverage for CacheEvents