Players will need to take a test for the SRY gene, which helps to determine biological sex, the WTA says.