fixing calling module name and then class constructor in unittest