Fix a test that broke because of the cache support