added tests on concurrency via parallel threads