[automerge] Add unit tests 2p: 9103b7dbfb

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/19001890

Bug: 235406470
Change-Id: I5d53752cb5543f75328a9071b66f0e013f3f31c1
Ignore-AOSP-First: nearby_not_in_aosp_yet