Made TorrentCollecting unit test use random ports.