Added tests for allowDiskUse