assertTrue(rootFolderExists);
rootFolderExists = repository.directoryExists("/test/nested");
assertTrue(rootFolderExists);
boolean deleted = repository.deleteDirectory("/test", false);
assertTrue(deleted);
rootFolderExists = repository.directoryExists("/test");
assertFalse(rootFolderExists);