Test port_open