add mocha.opts + directive to pkg.json for test