Fix `npm test`

Allows travis CI tests to run.