doctors use tests to treate patients