Improve testing
Document the interface of FileCatalogDB
Fix the removal of directory when there is no metadata attached
Improve testing