add missing mail and sendmail config tests