Reset the invocation state of a task #55

This does not include reenabling dependent tasks, this was the first time I wrote behaviour tests ;)