fixed test_provided_extension_is_used. splitext only considers last label as part of the name. Some test runs were failing because of that.