tests for DirectoryEntry