More robust test for cache recovery.