add tests to be written
dd tests showing that connection lost cleans up
Merge branch 'file_receiver_tests'