add specs for error handling of Importer