added rspec and made some tests for upvoting