full tests for BaseMail