Slapd: Add unit test for by/control