Add a test to use a cache.