Fix class name
Factor out DN-to-domain conversion and add tests
Add test for membership in Managers group
Test mock binding