Move test into nested class am: 259f87fcd7

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Wifi/+/1850032

Change-Id: I1ce90b15e1820b55b07bfacc9d4bb9df85fe4518