A former state pathologist was testifying at the trial of a man accused of trying to murder police officers.