fix mocha test pattern