New test may help guide prostate cancer treatment