Ensure that free port is selected for test run.