New test could tell doctors whether patients will respond to chemotherapy