Unit tests for mailer class added