A 20-year-old girl from Massachusetts is on trial accused of sending her boyfriends texts, urging him to commit suicide.