added testcases for votes_of_a_user view