added tests for request caching