Adding rspec tests

Added a few model tests to make sure upvoting/downvoting functionality doesn't break.