Implemented testing suite & created tests for vote