Testing the output of imageOptim