test network connectivity