New test to combat drug resistant cancer