test cacheRequest method