Check for network connectivity in tests and skip tests appropriately if unavailable.
Check for network connectivity in tests and skip tests appropriately if unavailable.