use mocked cache obj