Fix the cache test