added connection tests