(test) Add mocha and jshint tests