implemented concurrency lock test for cache insertion