Update mocha dependency version
Update tests for short syntax