In order to facilitate unit testing, ```run_feature_selection``` should return a single string that contains the formatted output (instead of accepting a filepath and writing the results within the function). That way you can compare the return value to an expected output string and not have to deal with temporary files.

I recommend having the function return a string that looks like:

```"selected feature 1\nselected feature 2\nselected feature 3\n"```