Update test to use updated mhServerPortNr function.