raft: add a test for node.Tick
raft: stop the node synchronously
Merge pull request #1696 from xiang90/testnodetick

raft: add a test for node.Tick