Add test for array coordinate length (issue #1761)