Implemented testing suite an created tests for Vote.