Added connectivity testing method Test()