Issue #53899: Should i create a test?

Good afternoon, im working on making a PR soon in this issue and wanted to just know, should I add a test that tests it? And if so, where would I add the test that sees if the message for update email goes with the info i want (I ask this because in the context of the problem it needs the “type” variable in the message sent)? This is the link to the issue: issue.

Thank you for your time.