Add test for array types
Fix codegen configuration