Add some tests for Pair class