mock library is not used anymore. Mock class under celery.tests.case is now used for tests