Add some tests for arrays.