Subclassing and refactoring tests.