raft: add tests for maybeappend

this never happens in current workflow, right? just for verification.