added tests for begin ballot