Charts test fix

closes #540