Fixed tests for notification email.