wip: Output pairs, add a test