ldap tests