CacheManager adapters handling and unit tests