add some unit tests for arrays and strings