unit tests for the cumulative-line chart