Minor python nitpick: `self` is used for methods, and confusing when used outside of a class. I think I would probably either call this `test_case`, or make these methods inside a new base class for testing `ModelType`s. (I prefer the latter).