FIX: friend relationship for DirectoryEntryTestFactory