add outboundPeerFactory and introduce mockito to provide better testing of torrent actor