add voting routes and ajax tests for vote creation