TuplePairComparatorTests

#804