@Test
public void testCompareFromJson() {

  try {
    // Read JSON
    final String vul_sig_json =
        FileUtil.readFile(
            Paths.get("./src/test/resources/methodBody/deserialize/signatureDef.json"));
    final String fix_sig_json =
        FileUtil.readFile(
            Paths.get("./src/test/resources/methodBody/deserialize/signatureFix.json"));
    assertEquals(vul_sig_json, vulSigJson);
    assertEquals(fix_sig_json, fixSigJson);
    // Deserialize
    final Signature vul_sig =
        (Signature)
            JacksonUtil.asObject(
                vul_sig_json, custom_deserializers, ASTConstructBodySignature.class);
    final Signature fix_sig =
        (Signature)
            JacksonUtil.asObject(
                fix_sig_json, custom_deserializers, ASTConstructBodySignature.class);
    // Create signature change
    final SignatureComparator comparator = new ASTSignatureComparator();
    SignatureChange chg = comparator.computeChange(vul_sig, fix_sig);
    // Read previous change from disk and check equality
    final String sig_chg_json =
        FileUtil.readFile(
            Paths.get("./src/test/resources/methodBody/deserialize/signatureChange.json"));
    assertEquals(sig_chg_json, sigChange);
    final SignatureChange sig_chg =
        (ASTSignatureChange)
            JacksonUtil.asObject(sig_chg_json, custom_deserializers, ASTSignatureChange.class);
    assertEquals(chg, sig_chg);
  } catch (JsonSyntaxException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
  } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
  }
}