Run the test Common scenarios/project/test_0005.txt.
The opened project contains a single unloaded document.
After clicking "save project as..." and saving the project, the document disappears from the project view. The saved project doesn't contain the document.