new unit tests for DatabaseDirectoryManager