Getting ChartUnitTest class working again (with some refactoring).
Moved ChartUnit and ChartUnitTest classes from input to gui package.
Fixed several warnings (from IntelliJ).
Replaced tabs by spaces.