Added tests for pair
Added overrode equals method for Pair