add test around registering peers with a torrent