Adding a unit test to cover the case where the user hasn't made their upvotes public