assert_equals(document.test4b, undefined);
  assert_equals(document['test4b'], undefined);

  img.name = 'test4c';
  assert_equals(document.test4a, img);
  assert_equals(document['test4a'], img);
  assert_equals(document.test4b, undefined);
  assert_equals(document['test4b'], undefined);
  assert_equals(document.test4c, img);
  assert_equals(document['test4c'], img);
}, "Dynamically updating the name attribute from img elements, should be accessible by values.");

test(function() {
  let img = document.getE