Update test to work with keepOriginal-flag, set crop also when out-width and -height are 0