Added test for mailing with JavaMail-Mock2.