Zkušebnictví, diagnostika, věda, výzkum