Made Test subclass of distutils.cmd.Command
Moved mock to separate file
Moved local _import_string to global _make_name
Moved sub_item to global scope
Moved tests for global functions in a separate test case
Generalized set of package and module regexes
Created functions to check if path is package or module
Added directory listing function which return full path and name of each directory entry