Create a abstract base class.
Rename AbstractTestCase to TestCase
Time calculation moved to provider.