mocha test problem 3