raft: set From of local message to be local id
raft: use [1,n] as address list for raft state machines
raft: use raft helper function in testing