testing whether we're connected