updating specs to use attr_accessor and attr_accessible