Fixing multiline errors for mocha