added test for peer connection