Testing event purging of caches