CanvasJS mocked and UnitTest can run