pretest: fail if upstream version is ahead

Implemented pretest check that fails when the version of npm in the latest
node release is ahead of the version of this module.

Disabled `npm test` as it is not working now.