passing mocha test