Working test server and client