You raise a thought-provoking point. For example, a company that basis your salary on aptitude tests (or genetic tests - hello Gattica!). It isn’t fair if you didn’t have control over your “intelligence genes” so to say. But, this is very fuzzy right? Your intelligence and aptitude for a job is determined by so many factors, and any tests would struggle to capture the information properly, I think.
By comparison, the car insurance test of gender was straightforward (just look at the letter on the document!). I would hesitate to apply my original statement to such a fuzzy situation.