added a test for upvoting