test for cache