Fixes the failing test

This was a bug in the test, that tested for the wrong size of the image
in the dom.