test PortUtil