raft: add paper tests for section 5.4.1

it makes it easy to write test case and read.