Fix broken test about jsonrpc errors

Change-Id: I32e222fbff8c6c133b314caeeca088114d3e5226