Test the caching