raft: add tests based on section 5.3 in raft paper

for #1408 
should not we remove the {Term:2 , Index: 2} based on 
```
will delete the existing conflict entry and all that follow it
```