  selectMenu.children[3].selected = true;
  checkSelection(selectMenu, 3);
  selectMenu.children[0].remove();
  checkSelection(selectMenu, 2, "Removing non-selected option should have no effect.");
}, "ask-for-reset when removing option");

test(() => {
  let selectMenu = createSelectMenu(3);
  selectMenu.children[1].selected = true;

  let newOption = document.createElement("option");
  newOption.selected = true;
  selectMenu.appendChild(newOption);
  checkSelection(selectMenu, 3, "Inserting a selected opt