@Test
public void testFactomChainHeadReqToJson() {

    RpcRequest rpcRequest = RpcMethod.CHAIN_HEAD.toRequestBuilder().id(5).param("chainid", "TEST").build();
    String json = CONV.toRpcJson(rpcRequest);
    Assert.assertEquals(CHAINHEAD_REQ, json);
}