add repository field
add tests for array - #1
add type array - close #1