test connectivity