Fixes for most of the unit tests in ChartUnitTest

Fixed most of the unit tests in ChartUnitTest by using new test data files (with some refactoring). The testSetGraphDataSeries test is currently failing/ignored and still needs to be fixed.

Replaced tabs by spaces.
Small textual changes.