runTestsOnPhantom: Simplify phantomPort assignment