Add NotificationHelpers to DRY-up/simplify specs

Use a common helper to exract the payload hash and payload bytes.