Testing cache refresh