fixed cli unit tests
changes to mimic current exception raising behavior and to make module more testable
moved downloader creation back into try block
updated importer unit tests