CARE #7: Added test for ChartController