Updated TestTask to verify the number of completed tests on process exit