Testing connect with server