Added test coverage for charts.