Additional caching test specifically for #547