Fix flak check
Add test for import guesses