testcase memory cache