Are men subjected to gender tests?

I heard the news today that Shanti Sounderajan, an Indian silver medalist in the 800 at the Asia Games, had had her medal stripped from her because she failed a gender test. The panel that evaluates such things consists of a gynecologist, endocrinologist, psychologist...