UnitTest reduceImage added