Cosmetic on doctests
Add SourcesManager to doctested modules
Perform a full restore before any test
Merged with public