using abstract classes instead for traits for tests to speed up compilation