Philosophy of science
According to Pierre Duhem and W.V. Quine, it is impossible to test a theory in isolation. For example, to test Newton's Law of Gravitation in our solar system, one needs information about the masses and positions of the Sun and all the planets. Famously, the failure to predict the orbit of Uranus in the 19th century did not lead to the rejection of Newton's Law. Instead, it lead to the rejection of the hypothesis that there are only seven planets in our solar system. The investigations that followed led to the discovery of an eighth planet, Neptune. If a test fails, something is wrong. But there is a problem in figuring out what that something is: a missing planet, badly calibrated test equipment, an unsuspected curvature of space, etc.