Fix broken test due to random port change