Move test runner disabling to request mailer in order to have access to rails environment and make hack specific to ruby 1.9.