Feature/formats/pre post resize

`testApplyFormatWithPostResizeClosure`