Importer: Add test cases for failed repository imports

Problem

This is a followup from !354 (comment 409784458).

Currently, we're lacking tests to simulate import failures when using the import tool.

Solution

Add test cases for the following failed import scenarios:

  • First repository fails to import;
  • Nth repository fails to import;
  • Last repository fails to import.
Edited by João Pereira