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