Don't return singleton CacheManager for tests, as this might be causing intermittent test failures.