test comparing arrays