tests and docs for Digestable#digest_directory