I should also mention that a temporary text/html module isn't necessary. I just recommend this because of the fact that if the process fails in the middle, it's possible to lose the contents of the module as you did when the contents were changed to the test post that could not be deleted.
Thanks,
Don