change test lib to mocha