Our experience of maintaining LaTeX has shown us just how complex are the interactions between different parts of the system.
We have therefore, with lots of help from the bug reports you send in, developed a large suite of test files which we run to check the effects of every change we make. A non-negligible percentage of these test runs give unexpected results and hence show up some unexpected dependency in the system.