testing for array