Fixed the using of random port in unit tests.