tests through arrays passed