Cleaned up some peer and torrent tests.  Peers now set their ids properly after handshake, since no id is specified when trackers provide peers in the compact form.