Fix the remove_formats test