add makepairs test