Added new tests to ldapentry_test.py.