Add test for non-sequential import warnings.