changed tests CacheResolveEvent
added tests for cache manager