Added a test for listing pairs.