The test means patients can start treatment sooner and are spared weeks of uncertainty.