adding unit tests for new/legacy scale-to-width, window-crop, and window-crop-fixed modes