Testing connection between client and server