add tests for adapter
refactored adapter behaviour; added test for ssh
added tests for ftp aswell
Merge pull request #1 from Arkham/tests

Added rspec tests