LDAP modified for tests