You cannot compare the theory of electromagnetism to the hypotheses of dark energy, dark matter, black holes, neutron stars, accretion theory, inflation and other entirely hypothetical entities. Electromagnetism can be studied experimentally.
Why not? You said the basics were not infallible. How basic do you get? EM Theory is the basic currently applied at the Large Hadron Collider. Inflation is based on observations that have EM theory at its base.
So again, which are those basic theories that are not infallible. Name them, so we can know which books we must burn.