fixed broken test, and updated test.rb to have the default mailer