Add test for resize

Was added to find reason for crop out of constraint-region