Improved ldaptest, minor changes