added test for initiated provider

not attempting to read if the device is null