test for up and down vote