This CL also slightly refactors unit test, to test fewer things each. Bug: webrtc:11508 Change-Id: I98553d2b185364132c626d373683f38891e36c6d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173620 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31087}