Improve SimpleModuleFileSystem for unit tests