test client-server