Fix ManagerTest test on Windows