Added static fromRecord to CommitEventEnvelope
Added UnitTest for CommitEventEnvelope