add specs to test instance variables of classes