Updated error object to match Node.js. Solves issue #125.
Updated tests already checking error name
Merge pull request #134 from pbouianov/issue125

Updated error object to match Node.js. Solves issue #125.