MAINT: Strip internals from TestCase class
`TestCase` is a vestige from the `nosetest` framework.  We want to discourage usage of `self.*` method calls under our new `pytest` framework, so this PR strips as much as possible from the class.

Partially addresses #15990.