refactor DiskManagerTest.