Refactor testInstallJSSImporter.