Pair testing