Added a test for --prune-empty-dirs.