Add a test mode that does not hit an LDAP server/acts like a mock.