test case for cache + cache actually working