add test for deleting a whole directory at once

Calling delete('directory_name') should delete the
directory 'directory_name' and all its contents.
(without the need to delete each member of the
directory's tree individually)