test cases for cache added