jsonrpc server and client test cases