Fixing broken CacheFactoryTest on OSX>