Support syntax without cwd. Add tests
Refine tests with 3 different cases
fix test config
Merge pull request #3 from svassr/fix-path-on-ftp

Fix path on ftp