Add a test for ldap port conf.
Merge pull request #71 from chrisN777/ldap-port--test

Add a test for ldap port conf.