prepareUnitTestModule passes options on to editor

Here, instead of passing only the provided `postInit`, we now pass a whole `options` object, on to the editor(s).