Add heavy-handed tests against pie chart bug