implemented concurrency tests