Added some tests for the TCharts javascript.