test with mocha and jshint