Testing the cli with Mocha.