Migrating webrtc tests to latest API