add a test to check mailing is sending