Test could reduce unnecessary needle biopsies.