Clean up test_pairwise.py.