CFY-1377 fix TestPortsConfig