Add ComparisonSortByKey test.