Remove obsolete function from the tests.
Add an NPM badge to the readme (let's hope this works).