Updating package.json definition.
Fixing wrong check in Node.setPrevious, and adding a unit test for it.