Replaces the runConcurrently method in the test codes with the newly added Tasks.runConcurrently.