Test img loading. WIP

Spec not fixed yet, but what the tests expect is what I plan on requiring.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24711
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24958