Added a trivial test (if a constructor is not null) to the mailer test

class. This will stop jenkins from being unstable. Fixes #82