test for Cache