It doesn't seem that the test cases are referring to run_in_temp_dir, would there be some magic in unittest that requires it?