Added new tests for PortList.remapPorts().
Implemented mapPorts() method on PortList.