The way you do pricing A/B testing is a bit more complicated.
1. You decide on your range of prices X through Y.
2. Set the 'normal' price to the high-mark at X, then offer users discounts on a scale all the way down to Y.
3. Remember, everyone gets the same discount at the same time. It'll probably give you the most information if you don't discriminate based on any factors.
Now as for legality, you can discriminate based on location---say offering different prices on games to Australians than Americans even though the exchange rate is nearly 1:1.
Or you can discriminate based on gender---say like a club/dating site offers free memberships to women, but not men.
Of course, this is not legal advice per se, and you should see your own legal opinion before acting on anything.
However, legality aside, people will complain if they find out that you're using price discrimination. That's why you're doing it as a "discount". Hardly anyone will complain that someone received a larger discount than them so long as there was an opportunity for them to get it too.