added test for adhoc scan while session offline