Test for bug 38752: Images cannot be dynamically added to image documents.

Onload was not called, which is not good. But is the square below green?