How a surprising discovery led to a new cancer screening test