Added test when task generator called on revoke