Changing conflicting port numbers in test.