Merge pull request #12 from yifan-gu/dev

add tests to connect Accept and Commit, put ugly stuff in one helper fun...
Merge branch 'dev' of github.com:go-epaxos/epaxos into dev
fix a typo