test clear the cache for the LockingInMemoryCache