add test of arrays