Download the npm module when testing.
Use npm install in test directory and npm test.