Yes, you are correct. It was Robert Koch who created tests that helped confirm that bacteria and other microorganisms cause a variety of diseases. Before that, the scientists were not as sure as after they have solid proof of what causes these kinds of diseases.