* PM-33019 Add isTrusted check in messenger.ts * update tests to accomodate isTrusted * return comment