I believe a lot of women who might be great scientists with lots to contribute don't naturally gravitate to careers in science, but that this has much more to do with an environment that many women experience as something between unpleasant and toxic.   Maybe (I think our culture has more to do with this than testosterone), as the article says, girls prefer playing with dolls over playing with trucks, but that might simply be because the guys playing with the trucks make them uncomfortable.