test code and examples for haskell-chart