fix broken pie chart test