implement test for ByDiskSpace