Update mocha and optimist dependencies