Add test to ChartController
need help on calculatePartiesResultPercentage