Mock Celery task in app tests.