The outgoing chief of the embattled airplane maker is testifying in the wake of a whistleblower's allegations of safety issues.