test for array