updated connection test