Implemented testing suite and create tests for Vote