Partially fixes issue #26

Use the helper function to check if the ssh info are correct before
executing the test, the SSH tests will be skipped if it couldn't
connect to the remote server.
Merge pull request #46 from ucb-sts/fix_26

Partially fixes issue #26