Add npm test script.