End the URIs of nslcd configs with newlines

Fixes #120
Add a trivial test for the NSLCD configuration

So far it only ensures each field is printed at the begining of a line,
which is all issue #120 needs.