Added test for jensoftapichartfactory.