Thread local cache clear test