Added `getTaskNames` method to `MagicFactory`

Resolved #12