fixed BaseMailer test to work on APC and HHVM