ldap directory mostly test covered