JUnit rule to simplify ldap unit tests.