fix testOneOffPatchAddingAModule