Refactoring App Deafult PG Handler tests so that showChallenge is called as expected, with an object that contains a function called 'onGuidanceChallengeResponse'
Added a check in appdefaultpghandler to ensure that guidanceChallengeResponseCallback has a function called onGuidanceChallengeResponse