Is the defensive use of diagnostic tests good for patients, or bad?

Is the defensive use of diagnostic tests good for patients, or bad?