add imagecompare test.