Added YumTestCase
Use prereposetup_hook instead of postreposetup_hook.

If urlgrabber has parallel_wait() and repo has async enabled, then
doSetup will try to retrieve metadata before the "postreposetup" hook is
called.