Move test into nested class am: 259f87fcd7 am: 0c1de1f6cc am: 80060a5339

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

Change-Id: Ic1122bb9c34edfe45d1442ed0af64598417857b4