Added patch_formats utility for i18n formatting tests