Update wpcharts.js

fixed bug in test for 'pie' chart type

regards,
faizelh