Test purging of expired caches