Gene-testing firms face legal battle