> Note that further down in the file self.mats gets reassigned, so my changes did not break any original tests.

Can you point me to a line? All I am seeing is that Mats is assigned based on the argument value - not that it gets read in from the library.