adding few tests for Peer.js