adding tests to get data by voting history