uals(document.test5b, img);
  assert_equals(document['test5b'], img);
  assert_equals(document.test5c, img);
  assert_equals(document['test5c'], img);
}, "Dynamically updating the id attribute from img elements, should be accessible by values.");

test(function() {
  let img = document.getElementsByTagName("img")[6];
  assert_equals(document.test6a, img);
  assert_equals(document['test6a'], img);
  assert_equals(document.test6b, img);
  assert_equals(document['test6b'], img);

  img.remove();
  assert_equal