A woman who lives in the apartment building where a University of New Hampshire student was killed testified that she heard a blood-curdling scream the night of the killing. WMUR-TV reported that Rosemary Macione of Dover was among more than a half dozen witnesses who testified Thursday in the first-degree murder trial of Seth Mazzaglia. She testified that she heard a scream, but did not call police. Prosecutors said Mazzaglia raped and killed 19-year-old Elizabeth ‘‘Lizzi’’ Marriott of Westborough, Mass., at his apartment Oct. 9, 2012. Mazzaglia has pleaded not guilty. His lawyer said Mazzaglia’s former girlfriend, Kathryn McDonough, killed Marriott during rough sex.