prepareUnitTestModule passes options on to editor

We load plugins and `start` the test using `options.postInit` so we do the following.

If `options.postInit` was provided, we save it as the `providedPostInit`.