Fix typo; Add logs into Junit XML report for failed/aborted cases.

1. Fix type;
2. Add logs into Junit XML report for failed/aborted cases.