Implement testcase for JSONRPCServer