add unit tests for Pair class