Replaced use of MultiValueMap<String,Port> with
LinkedHashMap<String,List<Port>> to make test results deterministic.