Fix bugs in tests which fail when Bluettoth is turned off.
on internal gerritt, this is ag/3738365

Bug: 74609188
Test: tested manually: runtest bluetooth
Change-Id: I01af14906f44b21838a46a5a30a19b1cda5fcc03
(cherry picked from commit cc27a3dcc0f4d1bf09641c992d230b2eeeed0f21)
2 files changed