im not saying shae is in on the conspiracy with the lannisters at all, im saying she is a pawn in it. They are forcing her to testify, either under threat of her own life or theyve told her that tyrion's only chance of survival is to be convicted and beg for mercy. And i still dont believe at all shae would betray tyrion like this, as he never left her but was forced into marriage and for probably the first time in his life resisted having sex with a woman, sansa, to remain loyal to shae.
if shae actually backstabbed him like that then she is the worst character in the show and i just dont see that in her. the writers have made her too sympathetic already to later portray her in that light.