In the preferences dialogs you can set the default directory. That is fine.
But there should be also the possibility to set another directory which is appended to sys.path.
If you have a package with some hierarchies and want to test one module in this hierarchy you may need to import modules from these hierarchies. Then you must have the top of the package in sys.path.