Use CacheManager.newInstance() instead of new CacheManager() in tests