Adds regression test for filename_with_extensions default

Also renames the format_override to simply format in the fix.