Testing of Pair class and adding in PortProvided class.