update the print results in testing cases