Improve testing of WiFi bootstrapping condition BUG: 23755250 BUG: 24054100 Change-Id: I3352e927ff93491a0d9529941ef30ce82adbb8db