server-client-connection tests improved