webtest improvements for mailing tests