Update Ldap test code