Added connectivity testing