All-pairs testing