added test case for initiating handshake in peer connection