Fix possible bug when destination paths don't have a trailing slash
The beginnings of some mocha unit tests
ignore test output files