Add simple test case and enable build on travis using OpenLDAP.