Fix: ensure dummy task is a callable object.

This takes care of the warning in a senario where
a task object is used without the decorator
syntax.
Merge pull request #1 from alisaifee/master

Fix: ensure dummy task is a callable object.