Integrated the simulated network (MockNetwork) into the Commitment
class. Began writing tests for JSON in CommitmentTest.