add some basic tests for arrays