added connection test