Refactor consensus/vote_set_test.go