Add memory leaks tests for webrtcendpoint

Change-Id: I09c5afade031d6ff803bdd76d9ff05748de94eb7