added connection test support