    @Test
    public void shouldNotSplitWithWrongOriginSerialize() throws Exception {

        Contract c = createCoin();
        c.addSignerKeyFromFile(PRIVATE_KEY_PATH);

        sealCheckTrace(c, true);

        Contract c2 = c.split(1)[0];

        sealCheckTrace(c2, true);

        Binder sd2 = DefaultBiMapper.serialize(c2);
        Binder state = (Binder) sd2.get("state");

        assertNotNull(state);
        assertTrue(state.size() > 0);

        HashId origin = HashId.withDigest(Do.randomNegativeBytes(64));
        Binder originB = DefaultBiMapper.serialize(origin);

        state.set("origin", originB);

        Contract dc2 = DefaultBiMapper.deserialize(sd2);

        sealCheckTrace(dc2, false);


        state.remove("origin");

        Contract dc3 = DefaultBiMapper.deserialize(sd2);

        sealCheckTrace(dc3, false);
    }