Reorgainized unit tests to work around a problem with the embedded LDAP
server not shutting down quickly enough after unit tests complete.