unit tests for the historicalBar chart
+ small changes