Added test for ldap role caching