unit test on mail.defaultMessage() function

Added unit test on buildbot.status.mail.defaultMessage() function