implemented test suite and create tests for Vote 2