It would be good to also test the actual "delete recursively" part. Right now if the deleting part fails for some reason this test doesn't catch it.