implemented arrays tests