passing mocha tests