troubleshooting bugs in pie chart testing