add some concurrency tests and examples