h.testing must be imported after pyramid_mailer