Bugfix: don't try to instantiate abstract classes with tests.