Added a test for arrays