added another test for arrays