Added more unit tests for Vote.