working on the line received tests

Adding some tests for line receiveer at the moment and trying to figure out
how all of this actually works.

Also, replacing the print statements with logs
adding tests for receiving files
set line mode unless there is more data to send.
Take all local changes

Merge remote-tracking branch 'origin/excise_teiler' into excise_teiler