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

...o the main branch
I think here we should use logger.error and then flag the test as failed using a boolean instead.