test server in one program