Transgender partner of suspect takes stand in murder trial