sent test for begin_ballot
added tests for voted message
put log tests in other file
implemented step 4