modified ImportImprove a little, and add unittest for ImportImprove