fixed ldap tests