completed test case for serial mode and parallel mode with async, thread.