prepareUnitTestModule passes options on to editor

Added much required documentation.