Make sure that destination exists as a directory. Fixes #14
More tests
More tests