define CacheManager.remove and implement it, add tests