Added tests for celerytasks.py