Redesigned the ImportErrorTestCase class so that the test failure clearly explains what went wrong.
The traceback is now stored and later printed, the exception is not passed in, rather strings with
the module name and traceback, and comments and docstrings have been added.