Added tests for mailers