Removed the votes specs that are not being used
Refactored the voting fucntion into one function, also added more validation for vote model