moved mocha as a project dependency rather than development dependency