First version of concurrent test(need refactoring)