Add tests for non-sequential import warnings.