fixes #122 get_file method is not working for second session
Add test for close/login and get_file case
Fix TEST_FILE and change string formatting
Merge pull request #124 from pchomik/master

fixes #122 get_file method is not working for second session