Adds code for scenario Revoke pending challenge