MULE-7211 - Fixing flaky test, making port dynamic