Mock celery delay() in tests.