Iplemented testing suite and created test for Vote