Spec abstract class correctly