remove only the  users from the directory instead of emptying the whole directory
Add more values in settings for further testing
Add get_ldap_connection helper function
Use get_ldap_connection instead of ldap.initialize