This should be tested, but we run tests in Firefox, and this doesn't exist in Firefox... Easiest option is probably to add the submenu to the Firefox menus for the purposes of testing.
- Replace nsIFile and persistent descriptors with OS.File and string paths - Add tests for base dir settings