modified a test in CacheTest