First of all, I'm sorry you've had experiences that made it difficult for you to trust men. I can understand why you would relate to Ian in that particular way, and I actually think you've drawn an interesting parallel.
The novel illustrates just how deeply Ian's experiences in the Anatold household affected him. His trauma is tied not only to the individuals who hurt him but also to the power and privilege associated with their noble status. And Michele, despite being different from his father is still an Anatold. I think that creates a very complicated situation for Ian...he's drawn to Michele as an individual but also struggles with everything Michele's identity represents to him.
I particularly like your observation about testing him. Ian does something similar. He keeps pushing Michele, questioning him and trying to maintain control, almost as though he needs to see whether Michele will eventually prove to be just like the others. Yet, at the same time, he clearly wants Michele close. He seems to recognise that Michele is different but recognising that and actually allowing himself to trust him are two entirely different things.
I also think there's an additional layer to this because Ian's feelings aren't simply a matter of gradually falling in love with someone he initially disliked. His original intentions, resentment, desire for revenge, growing attachment and need for control all coexist. That's what makes his relationship with Michele so contradictory and fascinating.

I THINK I UNDERSTAND IAN/AIN NOW a LITTE BIT, though I still can't explain his weird husband-and-wife roleplaying kink or whatever that is
Basically, I think he has some trauma involving nobles, so he struggles to trust Michael. It's kinda similar to my own experience. I'm a man-hater because of my past experiences, and a year ago this guy came into my life and did everything I'd ever wanted, I still don't fully trust him to this day. We became really close, but I still keep antagonising and testing him, almost like I wanted to prove he's still just a man at the end of the day eventhough I like having him around.
I feel like Ian is doing sth similar. He likes Michael because he is somewhat different (naive mostly) but also resents him for being a noble(?), so it's genuinely a love-hate relationship.