With the world championships in Tokyo looming, athletics federations are struggling to comply with new rules concerning gene tests for female athletes.