import/export module: fixed bug in internal link and test links update when running import process