Ldap tests fixies

Just small fix to handle changes base dn to make it work for different ldaps.