ame="test4b">
<img id="test5a" name="test5b">
<img id="test6a" name="test6b">
</div>
<script>
test(function() {
  let img = document.getElementsByTagName("img")[0];
  assert_equals(document.a, img);
  assert_equals(document['a'], img);
  assert_equals(document.b, img);
  assert_equals(document['b'], img);
}, "img elements that have a name and id attribute, should be accessible by both values.");

test(function() {
  let img = document.getElementsByTagName("img")[1];
  assert_equals(document.test, img);
  as