add test for null cacheManager