Add LDAP mockup tests

Closes #44