fix the rspec test
first implementation of file transfer and tests for it