Added votable for votes and fixed test cases