fix the cache test