wrong test in "getPort"