Testing p2p using peerjs library