Add some basic tests for arrays