add test for illegal imports
2 files changed