Add test for webrtcendpoint

Change-Id: Ia588fe019c506ed1e1d71db1d5018d9eaeae4ed8