Fix FileManagerTest