fix broken unit specs
add mocha.opts file