Added support for array of object with attr_accessor
Added files for test