move reader tests to a custom file
some handshake tests
move unittests back to tests