fix disambiguation of type/class/constructor import
accept test for imports