mode_test : cover extensionMap modification in `testCreateModeForFile`