add lint, mocha test, coverage