[test] Adding promote tests
[minor] Adjust heartbeat timeouts.
[major] Implement the vote handing