fix failing PortsList tests