Implemented testing suite and created tests for votes