Fixes test for FileManager.