Adjust unit tests for new LDAPSearch API