Improved the LdapConfigRepository Unit Test