test server&client