Tests for abstract classes