Change the mock cache to reflect the cache API changes