Subclass TestCase instead of using bare functions