Added test when task generator called on revoke
Merge pull request #13015 from arunagw/task-creation-command-test

Added test when task generator called on revoke