Defendant testifies she killed boyfriend in self-defense