unittest: fix export and import test