long uniq= 2;
OtpErlangObject[] freeVars = new OtpErlangObject[]{
new OtpErlangAtom("hej"), new OtpErlangLong(9)
};
OtpErlangFun f1 = new OtpErlangFun(pid, module, arity, md5,
index, old_index, uniq, freeVars);
OtpErlangFun f2 = new OtpErlangFun(pid, module, arity, copyArray(md5),
index, old_index, uniq, copyArray(freeVars));
if(!f1.equals(f2))
fail(1);