Tests for the JSON RPC server and client