This tests that we don't crash when mutating the dom during execution of an InsertHTML command.