simpler test for array