more test for markPairs