added dev dependency to mocha, tests are now runnable using `npm test`