fix test import loop