New test 'helps identify best ovarian cancer treatment'