raft: add tests for maybeappend

change the comment in the test too:
`// conflicts with index 1`