in my case i had wuttasync installed, which provides email settings,
but the test setup does not configure default import/export handlers,
which prevents those email settings from loading correctly.
so restrict to some "basic" email settings and avoid anything else, to
prevent the issue