Test GraftedCommit serialization

Is deserialization valid?