Refactored tests, created inheritance mechanism (EXTENDS).