fixing the test of truncating the subject in the notice email