add tests for array types