split out test import path check so vars show up in debug dump