keep changes to do_export from leaking

The reset of do_export needs to go *after* the model load, not before.
otherwise if the last model to be loaded changes it to False then that
state will leak out into subsequent tests.