add mock attr_accessor