Implement 'BestPairwiseTestArrayGenerator' and its tests.