Fix LDAP tests