To test connectivity