Add LDAP tests for user and externalgroup models