Add a test to marshal/unmarshal AppendEntriesParams.