Fixing spec tests for validate ldap