ion should update selection.");

  let newOption2 = document.createElement("option");
  newOption2.selected = true;
  selectMenu.prepend(newOption2);
  checkSelection(selectMenu, 0, "Inserting a selected option should update selection, even though it's not last in tree order.");

  let newOption3 = document.createElement("option");
  selectMenu.appendChild(newOption3);
  checkSelection(selectMenu, 0, "Inserting a non-selected option should have no effect.");
}, "ask-for-reset when inserting option");

test(