Implemented testing suite and create test for Vote