tests: mailer: fix tests