improved tests around concurrency