added some tests for charts