Added line tests
Added lineChart tests
Added cumulativeLineChart tests
Refactor api tests to use config