Assessing the value of diagnostic tests: a framework for designing and evaluating trials