Finding the right lung cancer treatment for each patient is an inexact science, but a new test may give more patients hope.