Randomizing server ports in tests.