testing features of classes