En ny gentest kan sikre en bedre behandling af prostatakræft.