Adds a basic test for metadata mailers, also configures the test environment to have a default :host option when sending emails.