test learning mocha