An ex-partner of a man accused of killing Natalie McNally told his murder trial about their ‘on and off’ relationship.