Add test for "array in struct" issue