complete problem 5 & mocha test