Add test for multidim arrays