make sure our mock module set's a __name__

On python 2.4, the mock.Mock() doesn't have
a .__name__, so set one for the test.
Merge pull request #529 from candlepin/alikins/plugin_empty_module_test

make sure our mock module set's a __name__