Testing the mocha framework