added mocha.opts, fixed failing test