Test for retrieve cache