Add some tests for `set_mode_file`.
Add some tests for `set_mode_file`.

ocefpaf/conda-smithy,shadowwalkersb/conda-smithy,ocefpaf/conda-smithy,conda-forge/conda-smithy,conda-forge/conda-smithy,shadowwalkersb/conda-smithy