'Test creating a non-module object with methods defined'

def test_nonmodule_with_methods(self):

    name = (self.name + '_nonmodule_with_methods')
    mod = self.load_module_by_name(name)
    self.assertNotEqual(type(mod), type(unittest))
    self.assertEqual(mod.three, 3)
    self.assertEqual(mod.bar(10, 1), 9)
