wrote test for favoriting rants on the rant index page