please modify testcasesScript to retain the error output from each step of the grading so that it will appear in the comments under student grades.