Bug 1054326: Initial attempt to submit Imagecompare test framework and test cases int...

...o the main branch
This is only called in one place, I think it doesn't need its own method.