Add test for vote functionality.