Added additional tests for arrays