Adds test to verify that an upvote was succesfully recorded through api route