fix integration test.
integration with importer.
unused import
add missing test coverage.