Integration tests for caching functionality.