My boyfriend purposely tries to make me jealous?

Anonymous
When me and my boyfriend first started talking we went out clubbing with a few friends, he dissappeared for an hour or so and came back with some random girl (he didn't get with her). I didn't really care as we weren't properly together then. Later on that night he told me that he really liked me and that the girl was a test to see if I would get jealous (which i passed), I thought it was weird but i liked him so chose to look past it. He also mentioned that he has tested me a few other times which i all 'passed'. We've been together for 4 months now. There have since been two other times where he has purposley tried to make me jealous or 'test' me - that i know of. E. g. when we were fighting he started liking every single one of a girls posts on facebook (he dislikes her and knows that i do aswell). I don't understand why he is doing this because If i do say something that implies im jealous he gets angry at me? Why is he doing this?
My boyfriend purposely tries to make me jealous?
3 Opinion