Add tests for JsonRpc::Error