Checks the availability of the provider before executing operations
Covered the major test cases