Include the logger in the test

This requires makefile changes
Finish framing out what's needed for tests

Also fix a dos/unix endline issue