Added acceptance test for invoking a task within a task with dependency